
<%@page import="esms.etonenet.boss1069.web.UrlConstants"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<script type="text/javascript">

function refresh() {
// 	$("[name='refresh']").click();
     $.ajax({   
             url :'<%=request.getContextPath()+UrlConstants.RUNMANAGE_SPREALTIMEMONITOR_QXPTMONITOR_DATA%>',  //后台处理程序   
             type:'post',    //数据发送方式   
             dataType:'json',   //接受数据格式   
             success:callbackFun  //回传函数(这里是函数名)   
     })
}
function callbackFun(data){
//     alert(data);//data就是后台传到前台的数据
     document.getElementById("boss1mt").innerHTML="BOSS1:"+data[0];
     document.getElementById("boss2mt").innerHTML="BOSS2:"+data[1];
     document.getElementById("boss3mt").innerHTML="BOSS3:"+data[2];
     document.getElementById("boss4mt").innerHTML="BOSS4:"+data[3];
     document.getElementById("boss5mt").innerHTML="BOSS5:"+data[4];
     document.getElementById("bossmt").innerHTML=data[0]+data[1]+data[2]+data[3]+data[4];
}
window.setInterval(refresh,20000);
</script>
<style type="text/css">
.boss1,.boss2,.boss3,.boss4,.boss5,.boss
           {
		    font-weight: bold;
     		color: white;
			font-family: 宋体;
			font-size: 35px;
           }
.boss{
            font-weight: bold;
     		color: white;
			font-family: 宋体;
			font-size: 80px;
      
}
.title
            {
           
			font-weight: bold;
			color: white;
			font-family: 宋体;
			font-size: 70px;
            }
.show{      
           
            font-weight: bold;
     		color: white;
			font-family: 宋体;
			font-size: 30px;
    }
.time{     
            font-weight: bold;
     		color: yellow;
			font-family: 宋体;
		    font-size: 30px;
}

</style>
<body>
<div class="show" align="right">
<!--      <span>当前系统时间:</span> -->
	 <font id="show" style="color: white"></font><br />
</div>
	<div class="title"  align="center">
	<span>移  通  当  日  流  量</span>
	</div>
	<div class="boss1"
		style="position: absolute; left: 5px; top: 120px; height: 25px; width: 50px;">
		<span id="boss1mt" >BOSS1:0  </span></div>
	<div class="boss2"
		style="position: absolute; left: 5px; top: 190px; height: 25px; width: 50px;">
		<span id="boss2mt" >BOSS2:0</span>	</div>
	<div class="boss3"
		style="position: absolute; left: 5px; top: 260px; height: 25px; width: 50px;">
		<span id="boss3mt">BOSS3:0</span>	</div>

	<div class="boss4"
		style="position: absolute; left: 5px; top: 330px; height: 25px; width: 50px;">
		<span id="boss4mt">BOSS4:0</span>	</div>

	<div class="boss5"
		style="position: absolute; left: 5px; top: 400px; height: 25px; width: 50px;">
		<span id="boss5mt">BOSS5:0</span>	</div>

	<div class="boss"
		style="position: absolute; left: 434px; top: 264px; height: 48px; width: 235px;"
		align="center">
		<span id=bossmt>0</span>	</div>
</body>
